function components = gencomponents(mb, simds, sb, trimedias, tb)
% components = gencomponents(mb, simds, sb, trimedias,
% tb)

components = [component('camera', 0, 0, 31775030) ...
	      component('monitor', 0, 0, 31775030) ...
	      component('l2mem', 0, 0, mb)];

for i = 1:simds
  components = [components component('rcsimd', 0, 0, sb)];
end

for i = 1:trimedias
  components = [components component('trimedia', 0, 0, tb)];
end
